#include <iostream>
#include <vector>

int main() {
    std::cout << "ASan demo start\n";
    std::vector<int> data(4, 42);
    // 越界读取，ASan 会报警
    int value = data[4];
    std::cout << "Value: " << value << '\n';
    return 0;
}